-- 仅应用于妒猫GG版本
require(true)
require "import"
import "android.content.*"
import "android.net.*"


intent = Intent()
intent.setAction("android.intent.action.VIEW")
content_url = Uri.parse("https://gitee.com/ArtLua/lua-util")
intent.setData(content_url)
activity.startActivity(intent);

-- 正常luajava应用版本
class = luajava.bindClass
new = luajava.new
BaseActivity = class("android.ext.BaseActivity")
Intent = class("android.content.Intent")
Uri =  class("android.net.Uri")

BaseActivity.context:startActivity(new(Intent,"android.intent.action.VIEW",Uri:parse("https://gitee.com/ArtLua/lua-util")))